package org.example.di.pro2_autowired_annotation;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;

@Repository
//@Primary  //如果有多个实现类，优先选择这个
public class OrderOceanDao implements OrderDao{
    @Override
    public void addOrder() {
        System.out.println("针对阿里巴巴的ocean库实现");
    }
}
